package fristphase.day9_04.submarinegametest01;

import javax.swing.*;

public class Mine extends SeaObject {
    public Mine(int x,int y,int index){
        super(20,20,x,y,3,"水雷",index);
    }
    public void move(){
        x -= speed;
    }
    public ImageIcon getImage(){
        return Images.mine;
    }
}
